package top.huhuiyu.springboot.study.service;

import top.huhuiyu.springboot.study.base.BaseDataResult;
import top.huhuiyu.springboot.study.base.BaseResult;
import top.huhuiyu.springboot.study.base.PageBean;
import top.huhuiyu.springboot.study.base.PageResult;
import top.huhuiyu.springboot.study.entity.FootballClub;

import java.util.List;

/**
 * 足球俱乐部服务
 *
 * @author 胡辉煜
 */
public interface FootballClubService {
  BaseResult add(FootballClub footballClub);

  BaseDataResult<FootballClub> queryByKey(Integer fcid);

  BaseDataResult<PageResult<List<FootballClub>>> query(FootballClub club, PageBean pageBean, Integer order);

  BaseResult update(FootballClub footballClub);

  BaseResult delete(Integer fcid);
}
